package com.red.star.wechat.data.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * @ProjectName: macalline-work-server
 * @Package: com.red.star.macalline.data.entity
 * @Description: 登入、登出日志
 * @Author: AMGuo
 * @CreateDate: 2018/7/17 下午6:04
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "lg_logon")
public class LogonLog extends BaseEntity {

    /**
     * 操作人vipOpenId
     */
    private String vipOpenId;

    /**
     * 操作人openId
     */
    private String openId;

    /**
     * 类型：0登入 1登出 2后台主动登出
     */
    private Integer type;
}
